Skip to main content

How to choose a file system for ZeroNAS

When creating a storage pool on the ZeroNAS, the system will prompt you to select a file system format: **Btrfs **or EXT4. This article provides a preliminary analysis of these two file systems to help users choose the more suitable one.

What is a file system?

A file system is the method used by an operating system to organize, store and retrieve data. Put simply, a file system is the "management rulebook" for a hard drive, governing how data is stored, organized and accessed. Different file systems are akin to different "storage methods" — some prioritize security, others prioritize efficiency, and some come with a richer feature set.

Brief Comparison Between Btrfs and EXT4

FeaturesBtrfsEXT4
Snapshot FunctionSupports snapshots for data recovery and rollbackNot supported, manual backup is required
Write PerformanceSlower (suitable for small files with frequent modifications)Faster (suitable for continuous writing of large files)
StabilityIt comes with a rich set of built-in functions, yet its compatibility is somewhat limitedHigh compatibility, universally compatible with Linux
Applicable ScenariosData protection and multi-person collaborationHigh-speed transmission and large file backup

EXT4 is a widely adopted and highly mature file system with stable performance, making it particularly suitable for scenarios where transmission speed and compatibility are prioritized. It is recommended for use in the following cases:

Intensive scenarios for large file transfer​

  • such as sequential writing scenarios like video editing, high-definition movie backup, and surveillance data recording

  • EXT4 delivers faster write speed and lower system overhead

High Compatibility Environment​

  • EXT4 has wider system compatibility and support

How should I choose?

If you are a home user who values data security and needs file recovery functionality, Btrfs is the recommended choice.

If you are a professional user, Aim for the Highest write speed, and do not rely on the snapshot function, EXT4 is recommended.

If you really don't know how to choose, just use the default value.

Precautions and Recommendations​

  • Once created, the file system cannot be modified directly; if you need to change it, formatting is the only option, so please plan ahead.